package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;


/**
 * 角色菜单按钮关联表Entity
 *
 * @author generator
 * @date 2020-03-19 13:44
 */
@MyTable(value = "RoleMenuButtonRelationEntity", name = "role_menu_button_relation", comment = "角色菜单按钮关联表")
public class RoleMenuButtonRelationEntity extends BaseEntity {
    /**
     * 角色主键
     */
    @MyColumn(value = "businessSystemRoleId", name = "business_system_role_id", comment = "角色主键", required = true)
    private Integer businessSystemRoleId;

    /**
     * 菜单主键
     */
    @MyColumn(value = "businessSystemMenuId", name = "business_system_menu_id", comment = "菜单主键", required = true)
    private Integer businessSystemMenuId;

    /**
     * 按钮主键
     */
    @MyColumn(value = "businessSystemMenuButtonId", name = "business_system_menu_button_id", comment = "按钮主键", required = true)
    private Integer businessSystemMenuButtonId;


    public Integer getBusinessSystemRoleId() {
        return businessSystemRoleId;
    }

    public RoleMenuButtonRelationEntity setBusinessSystemRoleId(Integer businessSystemRoleId) {
        this.businessSystemRoleId = businessSystemRoleId;
        return this;
    }

    public Integer getBusinessSystemMenuId() {
        return businessSystemMenuId;
    }

    public RoleMenuButtonRelationEntity setBusinessSystemMenuId(Integer businessSystemMenuId) {
        this.businessSystemMenuId = businessSystemMenuId;
        return this;
    }

    public Integer getBusinessSystemMenuButtonId() {
        return businessSystemMenuButtonId;
    }

    public RoleMenuButtonRelationEntity setBusinessSystemMenuButtonId(Integer businessSystemMenuButtonId) {
        this.businessSystemMenuButtonId = businessSystemMenuButtonId;
        return this;
    }
}